<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>面试管理</title>
		<script src="js/global.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			$(function(){
				init();
			})
			function init(){
				$("#mianshitab").datagrid({
					url: 'http://127.0.0.1:8080/findAllEmployee', 
					method:"post",
					pagination:true,
					queryParams:{
						eYongchu:2
					}
				});
			}
			
			function jieguo(value, row, index) {
				return  '<a href="javascript:void(0)" class="easyui-linkbutton" onclick="dengji('+index+')">登记面试结果</a>';
			}
			function dengji(index){
				var data = $("#mianshitab").datagrid("getData");
				var row = data.rows[index]; 
				$("#updateEmp_window").window("open"); 
				$("#updateEmpForm").form("load", row); 
			}
		</script>
	</head>
	<body>
		<table id="mianshitab"   class="easyui-datagrid" title="商品信息" data-options="singleSelect:true,collapsible:true,pagination:true,toolbar:'#tb'">
			<thead>
				<tr>
					<th data-options="field:'eid'">面试编号</th>
					<th data-options="field:'ename'">面试者姓名</th>
					<th data-options="field:'esex'">性别</th>
					<th data-options="field:'eprofes'">职位分类</th>
					<th data-options="field:'ezhicheng'">职位名称</th>
					<th data-options="field:'tuijianm',title:'登记面试结果',formatter:jieguo"></th>
					<!--<th data-options="field:'caozuo',title:'操作',formatter:shezhi"></th>-->
					<!--,formatter:leibie-->
				</tr>
			</thead>
		</table>
		
		<div id="updateEmp_window" class="easyui-window" title="修改" data-options="modal:true,closed:true,iconCls:'icon-save'" style="width:700px;height:400px;padding:10px;">
			<form id="updateEmpForm">
					<table>
				<tr>
					<td>职位分类</td>
					<td><input  type="text"  name="profes" style="width:80px;"></td>
					<td>职位名称</td>
					<td><input  type="text"  name="eprofes" style="width:80px;"></td>
					<td>招聘类型</td>
					<td colspan="2"><input  type="text"  name="ezzpleixing" style="width:160px;"></td>
				</tr>
				<tr>
					<td>姓名</td>
					<td><input  type="text"  name="ename" style="width:80px;"></td>
					<td>性别</td>
					
					<td><input  type="text"  name="esex" style="width:80px;"></td>
					
					<td>EMATL</td>
					<td colspan="2"> <input  type="text"  name="eemail" style="width:160px;"></td>
				</tr>
				<tr>
					<td>电话</td>
					<td><input  type="text"  name="ephone" style="width:80px;"></td>
					<td>QQ</td>
					<td><input  type="text"  name="eqq" style="width:80px;"></td>
					<td>手机</td>
					<td colspan="2"><input  type="text"  name="ecellphone" style="width:160px;"></td>
				</tr>
				<tr>
					<td>住址</td>
					<td colspan="3"	><input  type="text"  name="eaddress" style="width:220px;"></td>
					
					<td>邮编</td>
					<td colspan="2"><input  type="text"  name="epostcode" style="width:160px;"></td>
				</tr>
				<tr>
					<td>国籍</td>
					
					<td><input  type="text"  name="enationality" style="width:80px;"></td>
					
					
					<td>出生地</td>
					<td><input  type="text"  name="ebirthplace" style="width:80px;">
					</td>
					<td>生日</td>
					
					<td><input  type="text"  name="ebirthday" style="width:80px;"></td>
					
					<td>民族</td>
					<td><input  type="text"  name="enation" style="width:80px;"></td>
					</tr>
				<tr>
					<td>宗教信仰</td>
					
					<td><input  type="text"  name="efaith" style="width:80px;"></td>
					
					<td>政治面貌</td>
					<td><input  type="text"  name="epolitics" style="width:80px;"></td>
					<td>身份证号</td>
					<td><input  type="text"  name="eno" style="width:80px;"></td>
					<td>毕业院校</td>
					<td><input  type="text"  name="eyuanxiao" style="width:80px;"></td>
				</tr>
				<tr>
					<td>年龄</td>
					<td><input  type="text"  name="eage" style="width:80px;"></td>
					<td>学历</td>
					
					<td><input  type="text"  name="eeducation" style="width:80px;"></td>
					
					<td>教育年限</td>
					<td><input  type="text"  name="eeducationage" style="width:80px;"></td>
					
					<td>学历专业</td>
					<td><input  type="text"  name="emajor" style="width:80px;"></td>
				</tr>
				<tr>
					<td>薪酬要求</td>
					<td><input  type="text"  name="eyaoqiu" style="width:80px;"></td>
					<td>注册时间</td>
					<td><input  type="text"  name="ezcdate" style="width:80px;"></td>
					<td>特长</td>
					<td><input  type="text"  name="especialty" style="width:80px;"></td>
					<td>爱好</td>
					<td><input  type="text"  name="ehobby" style="width:80px;"></td>
					
				</tr>
				<tr>
					<td>个人履历</td>
					<td colspan="7"><input  type="text"  name="erecord" style="width:530px;height:50px;"></td>
				</tr>
				<tr>
					<td>备注</td>
					<td colspan="7"><input  type="text"  name="eremark" style="width:530px;height:50px;"></td>
				</tr>
				<tr>
					<td></td>
					<td></td>
					<td colspan="2"><a href="javascript:void(0)" class="easyui-linkbutton"  style="width:80px;"  onclick="submitupdateEmpForm1()">保存</a></td>
					<td colspan="2"><a href="javascript:void(0)" class="easyui-linkbutton"  style="width:80px;" onclick="closeEmpForm1()">取消</a></td>
					<td></td>
					<td></td>
				</tr>
			</table>
			</form>
		</div>
	</body>
</html>
